<template>
    <div>
        <van-nav-bar :title="titles" left-text="" left-arrow @click-left="onClickLeft" />
    </div>
</template>

<script setup>
import router from '@/router';

 const onClickLeft=()=>{
    router.push('/')
}
const props=defineProps({
     titles:''
})
</script>

<style lang="scss" scoped></style>